package mobao.feign.service;

import mobao.feign.entity.SysLogEntity;
import mobao.utils.Result;
import org.springframework.stereotype.Component;

import java.util.Map;

/**
 * Created by yanghongquan on 2018/9/14 14:41
 */
@Component
public class SysLogFallBack implements SysLogService{
    @Override
    public Result save(SysLogEntity entity) {
        return Result.error("MOBO储存日志接口访问失败:"+entity.toString());
    }

    @Override
    public Result list(Map<String, Object> params) {
        return Result.error("MOBO获取日志访问接口失败:"+params.toString());
    }
}
